package org.example;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.servers.Server;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@OpenAPIDefinition(
        info = @Info(title = "用户服务 API", version = "1.0", description = "这是用户相关接口文档"),
        servers = {@Server(url = "http://localhost:8083")}
)
@SpringBootApplication
public class CodeDemoSpringdocOpenapiApplication {
    public static void main(String[] args) {
        SpringApplication.run(CodeDemoSpringdocOpenapiApplication.class, args);
    }
}
